LogPusher Addon by Quantum Developer (Discord Support https://discord.gg/YKNUkYVKTz)

1. Upload the files from the panelfiles folder to your root directory /var/www/pterodactyl/

2. In /var/www/pterodactyl/routes/api-client.php above "Route::group(['prefix' => '/settings'], function () {" add:

    Route::group(['prefix' => '/logs'], function () {
        Route::post('/send-log', [Client\Servers\LogController::class, 'sendLog']);
    });

3. Now you must compile the panel, first you must install the dependencies https://pterodactyl.io/community/customization/panel.html

 3.1 Commands:
   export NODE_OPTIONS=--openssl-legacy-provider
   yarn build:production
   php artisan optimize